home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pascal Super Library
/
Pascal Super Library (CW International)(1997).bin
/
LIBRARY
/
TOT
/
DEMO.EXE
/
arc
/
DEMLS1.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1991-02-10
|
977b
|
48 lines
program DemoList1;
{demls1}
Uses DOS, CRT,
totFAST, totLIST;
Var
Items : array [1..20] of string[30];
ListWin: ListArrayObj;
procedure FillArray;
{}
begin
Items[1] := 'One';
Items[2] := 'Two';
Items[3] := 'Three';
Items[4] := 'Four';
Items[5] := 'Five';
Items[6] := 'Six';
Items[7] := 'Seven';
Items[8] := 'Eight';
Items[9] := 'Nine';
Items[10] := 'Ten';
Items[11] := 'Eleven';
Items[12] := 'Twelve';
Items[13] := 'Thirteen';
Items[14] := 'Fourteen';
Items[15] := 'Fifteen';
Items[16] := 'Sixteen';
Items[17] := 'Seventeen';
Items[18] := 'Eighteen';
Items[19] := 'Nineteen';
Items[20] := 'Twenty';
end; {FillArray}
begin
Screen.Clear(white,'░'); {paint the screen}
Screen.WriteCenter(1,white,' Press F10 or ESC to quit ');
FillArray;
with ListWin do
begin
Init;
AssignList(Items,20,30,true);
Go;
Done;
end;
end.